import java.util.UUID;

public class Ticket {
    private String movieName;
    private Session session;
    private String seat;
    private String ticketId;
    private double price;

    public Ticket(String movieName, Session session, String seat, double price) {
        this.movieName = movieName;
        this.session = session;
        this.seat = seat;
        this.ticketId = UUID.randomUUID().toString();
        this.price = price;
    }

    public String getTicketId() {
        return ticketId;
    }

    public Session getSession() {
        return session;
    }

    public String getSeat() {
        return seat;
    }

    public double getPrice() {
        return price;
    }
}
